package com.jungle.sp.daily;

public class StringFilter {
    public static void main(String[] args) {
        String original = "这个包裹呗签收";
        String toCheck = "签收";
        boolean result = containsSubstring(original, toCheck);
        System.out.println(result);  // 输出：true
    }

    public static boolean containsSubstring(String original, String toCheck) {
        if (original == null || toCheck == null) {
            return false;
        }
        return original.contains(toCheck);
    }
}
